﻿<%@ Page Title="" Language="C#" MasterPageFile="~/site.Master" AutoEventWireup="true" CodeFile="search.aspx.cs" Inherits="search" %>
<%@ MasterType VirtualPath="~/site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

Search results for query: <b><asp:Label ID="lblQuery" runat="server" /></b><br /><hr />


<table style="width: 100%;"><tr><td>
	<b>Users:</b><br />
		<asp:Panel ID="pnlUsers" runat="server" CssClass="PanelBox"><table style="width: 100%;">
			<asp:Repeater ID="rUsers" runat="server" OnItemDataBound="rUsers_ItemDataBound">
				<ItemTemplate>
					<tr><td>
					<div style="text-align:justify; padding: 10px;">
						<asp:HyperLink ID="hlFacebook" runat="server" Target="_blank">
							<asp:Image ID="iPost" runat="server" align="left" style="padding: 0px 10px 5px 0px; border:none;" />
							<asp:Label ID="lblUsername" runat="server" />
						</asp:HyperLink>
					</div>
					</td></tr>
				</ItemTemplate>
				<AlternatingItemTemplate>
					<tr><td>
					<div style="text-align:justify; padding: 10px; background-color: #dddddd;">
						<asp:HyperLink ID="hlFacebook" runat="server" Target="_blank">
							<asp:Image ID="iPost" runat="server" align="left" style="padding: 0px 10px 5px 0px; border:none;" />
							<asp:Label ID="lblUsername" runat="server" />
						</asp:HyperLink>
					</div>
					</td></tr>
				</AlternatingItemTemplate>
			</asp:Repeater>
		</table></asp:Panel>
</td></tr><tr><td><hr />
	<b>Blogs:</b><br />
		<asp:Panel ID="pnlBlogs" runat="server" CssClass="PanelBox"><table style="width: 100%;">
			<asp:Repeater ID="rBlogs" runat="server" OnItemDataBound="rBlogs_ItemDataBound">
				<ItemTemplate>
					<tr><td>
					<div style="text-align:justify; padding: 10px;">
						<asp:HyperLink ID="hlFacebook" runat="server" Target="_blank">
							<asp:Image ID="iPost" runat="server" align="left" style="padding: 0px 10px 5px 0px; border:none;" />
							<asp:Label ID="lblUsername" runat="server" />
						</asp:HyperLink>:
						<asp:HyperLink ID="hlBlog" runat="server" Target="_blank" />
						<asp:Label ID="lblBlog" runat="server" />
					</div>
					</td></tr>
				</ItemTemplate>
				<AlternatingItemTemplate>
					<tr><td>
					<div style="text-align:justify; padding: 10px; background-color: #dddddd;">
						<asp:HyperLink ID="hlFacebook" runat="server" Target="_blank">
							<asp:Image ID="iPost" runat="server" align="left" style="padding: 0px 10px 5px 0px; border:none;" />
							<asp:Label ID="lblUsername" runat="server" />
						</asp:HyperLink>:
						<asp:HyperLink ID="hlBlog" runat="server" Target="_blank" />
						<asp:Label ID="lblBlog" runat="server" />
					</div>
					</td></tr>
				</AlternatingItemTemplate>
			</asp:Repeater>
		</table></asp:Panel>
</td></tr><tr><td><hr />
	<b>Blog Posts:</b><br />
		<asp:Panel ID="pnlPosts" runat="server" CssClass="PanelBox"><table style="width: 100%;">
		<asp:Repeater ID="rPosts" runat="server" OnItemDataBound="rPosts_ItemDataBound">
			<ItemTemplate>
				<tr><td>
				<div style="text-align:justify; padding: 10px;">
					<asp:HyperLink ID="hlFacebook" runat="server" Target="_blank">
						<asp:Image ID="iPost" runat="server" align="left" style="padding: 0px 10px 5px 0px; border:none;" />
						<asp:Label ID="lblUsername" runat="server" />
					</asp:HyperLink>:
					<asp:HyperLink ID="hlBlog" runat="server" />:
					<asp:HyperLink ID="hlPost" runat="server" />
					<asp:Label ID="lblPost" runat="server" /> <br />
				</div>
				</td></tr>
			</ItemTemplate>
			<AlternatingItemTemplate>
				<tr><td>
				<div style="text-align:justify; padding: 10px; background-color: #dddddd;">
					<asp:HyperLink ID="hlFacebook" runat="server" Target="_blank">
						<asp:Image ID="iPost" runat="server" align="left" style="padding: 0px 10px 5px 0px; border:none;" />
						<asp:Label ID="lblUsername" runat="server" />
					</asp:HyperLink>:
					<asp:HyperLink ID="hlBlog" runat="server" />
					<asp:HyperLink ID="hlPost" runat="server" />
					<asp:Label ID="lblPost" runat="server" /> <br />
				</div>
				</td></tr>
			</AlternatingItemTemplate>
		</asp:Repeater>
	</table></asp:Panel>
</td></tr></table>
</asp:Content>

